﻿using System.Collections;
using System.Collections.Generic;
using QxFramework.Utilities;
using UnityEngine;

public class GameManager : MonoSingleton<GameManager>
{
    private void Start()
    {
        //播放音乐.
        AudioManager.Instance.PlayMusic(1);
    }

    private bool _isGaming = false;

    public bool IsGaming { get { return _isGaming; } }

    public void StartGame()
    {
        _isGaming = true;
    }

    public void FinishGame()
    {
        _isGaming = false;
    }
    
}
